package com.wingy.mybroadcastinxml;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class OtherActivity extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        String value = intent.getStringExtra("testIntent");
        Log.e("IntentRecriver-->Test", value);
        Toast.makeText(context, "test", Toast.LENGTH_SHORT).show();
    }
}
